
import java.util.*;
class Student {
    String id;
    String name;
    List<String> registeredEvents = new ArrayList<>();  // 报名的项目名称列表

    Student(String id, String name) {
        this.id = id;
        this.name = name;
    }

    List<String> getRegisteredEventNames() {
        return registeredEvents;
    }
}
